﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Step2.aspx.cs" Inherits="SponsorshipWeb.personal.Step2" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <title>宾果高校</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/style.css">
    <link rel="stylesheet" href="../css/sweetalert.min.css" />
    <script src="../js/jquery-1.12.2.min.js"></script>
    <script src="../js/validator.min.js"></script>
    <script src="../js/common.js"></script>
    <script src="../js/sweetalert.min.js"></script>
</head>
<body id="person-audit">
    <div id="searchPage"></div>
    <div class="main">
        <div class="audit-banner text-center">
            <h1>Open Person Service</h1>
            <p>进行个人验证</p>
        </div>
        <div class="wrap">
            <div class="audit-wrap step-header">
                <ul class="clearfix">
                    <li>
                        <h2 class="text-center">01</h2>
                        <div>提交个人基本信息</div>
                    </li>
                    <div class="step-line"></div>
                    <li>
                        <h2 style="color: #FF4500;" class="text-center">02</h2>
                        <div>提交身份信息</div>
                    </li>
                </ul>
            </div>
            <div class="audit-wrap step">
                <form id="formValidate" runat="server" class="form-horizontal">
                    <div class="form-group">
                        <asp:TextBox runat="server" ID="txtID" class="form-control" data-minlength="18" data-maxlength="18" data-error="请填写个人身份证号码" required placeholder="注册人身份证号码"></asp:TextBox>
                        <div class="help-block with-errors"></div>
                    </div>
                    <div class="form-group">
                        <label for="">请上传个人身份证正面照片</label>
                        <img runat="server" id="imgFront" src="" alt="" visible="false" width="442" height="264" />
                        <asp:FileUpload ID="fuIDFront"  data-error="请上传个人身份证正面照片" required class="form-control" runat="server" />
                        <div class="help-block with-errors"></div>
                    </div>
                    <div class="form-group">
                        <img runat="server" id="imgBack" src="" alt="" visible="false" width="442" height="264" />
                        <label for="">请上传个人身份证反面照片</label>
                        <asp:FileUpload ID="fuIDBack" class="form-control" data-error="请上传个人身份证反面照片" required runat="server" />
                        <div class="help-block with-errors"></div>
                    </div>
                    <div class="form-group">
                        <img runat="server" id="imgID" src="" visible="false" alt="" width="442" height="264" />
                        <label for="">请上传个人学生证内容页照片</label>
                        <asp:FileUpload ID="fuStuID" class="form-control" data-error="请上传个人学生证内容页照片" required runat="server" />
                        <div class="help-block with-errors"></div>
                    </div>
                    <div class="form-group">
                        <img runat="server" id="imgCover" src="" alt="" visible="false" width="442" height="264" />
                        <label for="">请上传个人学生证封面照片</label>
                        <asp:FileUpload ID="fuStuCover" class="form-control" data-error="请上传个人学生证封面照片" required runat="server" />
                        <div class="help-block with-errors"></div>
                    </div>
                    <div class="form-group">
                        <asp:TextBox runat="server" ID="txtAlipay" class="form-control" data-error="请填写个人支付宝账号" required placeholder="请填写个人支付宝账号"></asp:TextBox>
                        <div class="help-block with-errors"></div>
                    </div>
                    <div class="form-group">
                        <asp:TextBox runat="server" ID="txtCard" class="form-control" placeholder="请填写个人银行卡号" data-error="请填写个人银行卡号" required></asp:TextBox>
                        <div class="help-block with-errors"></div>
                    </div>
                    <div class="form-group text-center">
                        <asp:Button runat="server" ID="btnNext" OnClick="btnNext_Click" class="btn btn-default" OnClientClick="return Go()" Text="提交" />
                        <%--<asp:HiddenField runat="server" ID="hfCompanyID" />--%>
                        <asp:HiddenField runat="server" ID="hfMode" />
                        <asp:HiddenField runat="server" ID="hfUserID" />
                    </div>
                </form>
            </div>
        </div>
    </div>
</body>
</html>
<script>

    $("#searchPage").load("header.html", function () {
        SetCss("Info");
    });

    function Go() {
        if (!common.validateForm())
            return false;
    }

</script>
